Consider yourself lucky because who knows, it probably saved your life. I'm astounded that anyone wants to visit Mexico at all, consider the ever-spreading cartel violence. I've seen some horrific videos that make me never want to travel there at all. Stay safe in your travels! :)
RE: I got denied entry to Mexico - Do not cross the border here!