How Can a Spider Walk Across Water?
Water molecules attract one another. At the surface, this attraction produces tension that behaves like a flexible skin.
Fishing spiders have lightweight bodies and long legs that distribute their weight across a wide area. Microscopic hairs and waxy coatings make the legs repel water. Instead of breaking through the surface, each leg presses a shallow depression into it.
The curved water surface pushes upward against the legs. As long as the combined upward force is greater than the spider’s weight, the spider remains above the water.
To move, the spider pushes backward against the surface. The water responds with an opposing force that drives the animal forward. Some fishing spiders can run, jump, row with their legs, or allow wind to carry them across the surface.
The spider must remain relatively light. A much larger animal would concentrate too much force on the surface and break through it.
Soap and detergents reduce surface tension by interfering with the attraction between water molecules. If enough detergent is added, the surface can no longer support the spider effectively.
Water striders use the same physical principle, although their specialized middle legs produce much of their forward motion.
Source: Surface Tension and Water, United States Geological Survey - How Insects and Spiders Walk on Water, Scientific American

Slender Mongoose (Galerella sanguinea), Prague Zoo, Czech Republic
Source: Karel Jakubec