Nobody knows what happens inside a collision. Momentum conservation makes that ignorance irrelevant, which is the whole trick — and energy, deliberately, is not conserved.
All ladders