Red eyed tree frog eggs can hatch up to 2 days earlier than average when they detect vibrations, however if they hatch more than 2 days earlier than expected due to vibrations, the embryos are typically not developed enough to survive outside the egg. Explain how natural selection inhibited frog eggs from hatching any earlier than 2 days before. Explain your answer in 1-2 sentences

Natural selection has inhibited frog eggs from hatching any earlier than 2 days before because any embryos that hatch earlier than 2 days before are not developed enough to survive outside the egg, so they will not be able to pass on their genes to the next generation.