To protect their survival.
They could lay many but survival of the fittest all of them they don't live
They lay many eggs because their enemies may eat up the eggs so they lay many eggs so even if their enemies eat up some of their eggs, they will still have some more eggs to continue their species.
To fight their enemies!
Only animals that lay eggs externally lay more eggs because they have more space to lay their eggs and the animals that lay their eggs internally can lay only a small amount so the answer is simple animals that reproduce sexually using external fertilization produce so many eggs and sperm.
Thank you very much I'm brown and proud
Thank you very much I'm brown and proud