Original: Digging deep burrows in soft sediments allow the fish to thermoregulate, avoid marine predators during the high tide when the fish and burrow are submerged, and for laying their eggs.
Simplified: They can also ocean predators during the high tide when the fish and burrow are underwater.