There are a lot of missing parts to the story. If we assume the author left out everything that made them look bad, and including only what makes them look good then the result is a very incomplete feeling article.
For example: they asked for guidance and then the very next thing is them being fired. How did they respond to the coworker? Something is off here - the coworker who had messaged him about non-work topics TWO days in a row - then immediately reported him for his reply. What?
I was the one who let HR know that I sent her the message.