Are you sure he 'fired' the F/O?
Never been in such a situation in 28 years of commercial flying.
However if a really difficult situation developed then I would have suspended the F/O, and also suspended myself.
In the U.K. the Captain does not have the power to 'fire' anybody thankfully. Perhaps it is different in other countries and cultures
Regards
Exeng