This may be due to inertia. All objects in a system are in the same state of motion.
So, when a tanker is filled with water up to half of its maximum level, the water inside the tanker is at the same velocity as that of the tanker. So, it stays steady. However, when the tanker's brakes are applied, the velocity of the tanker becomes less but there is no external force acting directly on the water. So, the velocity of the tanker decreases but the velocity of the water inside remains as before.
So, the water tends to push itself forward towards the wall of the tanker.