The water that bears the boat is the same that swallows it up.
水能载舟,也能覆舟。
Apparently what happened was that water collected on these tar pits, and the bigger animals like the elephants ventured out on to the apparently firm surface to drink, and were promptly bogged in the tar.