That’s a classic riddle!
The answer is: Roosters don’t lay eggs — only hens do. So the egg didn’t fall at all, because the scenario is impossible!
Nice try though — it’s a fun trick question. 😄
Roosters don’t lay eggs, So, there’s no egg to fall either way

Well done Kevin, well spotted, that is the right answer. yes roosters do not lay eggs.