force has a direction and the force exerted by the fluid on anything-- therefore also on the wall-- must be everywhere perpendicular to the wall, because if there were any tangential component, then the fluid would start to move.