Power draw exceeds 2 amp charger?

I had the tablet plugged into my charger (2 amp) I was surprised to find that even plugged in the battery still drained to zero found out while in the middle of a paid transaction and the money was lost because the tablet shut down. No battery warning before, but even if there was, why does it drain so fast?