Why do amphibians lay their eggs in the water?

AThe eggs are large and hard and they want to have them close by.
BThe eggs are small and they want to protect them.
CThe eggs are small and hard and they want to store them in the water.
DThe eggs are small and soft and can dry out.