Of course it is an attack, and they tagged him in the tweet too. There were plenty of opportunities to keep the job after this point (deleting the tweets, not being a massive douchebag in every interaction with the company) but they gave the company no choice.