Sometimes they don't tell you the real reason you were fired.
My guess is, you were already on the boss' shit-list for other things you did or did not do and this was a last straw.
Yeah, but no one should be fired for refusing to clean up after another employee.