I'm not 100% but, your ears have tiny hairs in them which helps the sound waves move to your eardrum allowing your brain to process sound. What could have happened is that the punch could have forced a wave of air into your ear causing those hairs to temporarily flatten which makes the muffled type sound in your ear
That is most likely what would have happened. Should be fine in a few hours maybe