The pressures in a liquid at two points in the same horizontal plane are equal. Consider an elevator accelerating upward and a car accelerating on a horizontal road. The above statement is correct in
the elevator only
Consider a liquid placed in a beaker which is accelerated horizontally with an accelerationa0 (say)
Let A& B be two points in a liquid at a separation L in the same horizontal line along the acceleration a0
Consider a small vertical area Δ s around A& an equal area around B to construct a cylindrical surface.
The forces along the line AB are
(1) PAΔs towards right due to the liquid on the left
(2) PBΔs towards left due to the liquid on the right
Under the action of these forces, the liquid contained in the cylinder is accelerating towards right,
From Newton's 2nd law,
PAΔs−pBΔs=ma0
(PA−PB)Δs=Δs p l a0
Where ρ = density of the liquid contained
PA−PB=pla0
⇒ it implies clearly that PA> PB and pressure in this case is not equal at same horizontal line.
You can also see it as the water column above A has increased due to the accelerated motion which justifies PA>PB intuitively