most likely a combo of too much weight forward, and a small bump.
unless its mechanical, in which case fix it.
either way, **** happens, next time you wont make such a big mistake (not in front of people anyways).
what size is your cog? thats a big jump if only for skidability. I run 48:16 and can skid no problem (as my last few tires can confirm)