As the Israelites had been compelled by Pharaoh to seek straw where there was none, so the Egyptians are now punished in seeking water where there was none.
Related Commentaries of Exodus 7:24
Exodus 7:24
24 And all the Egyptians digged round about the river for water to drink; for they could not drink of the water of the river.