The key word of your question was past. As it has been pointed out, she too had past tweets which were just as bad, if not, worse than the one that got her fired and the cause of her firing was her continued misconduct after her employers asked her to cut it out.