Public vs private life. Identifying yourself as a representative of an organisation and then tarnishing the reputation of that organisation is not the same as have a private argument with someone.
I foresee incidents in which someone's work history is displayed on their public facing social media profile and they face backlash for using inappropriate language in a private public conversation which will require more thought, but that's not this situation.
In this situation Naomi declared that she was a representative of NASA and used foul language in an excited tone. When reminded that said language was not appropriate by a senior member of the organisation she doubled down by using aggressive language towards said senior member instead of acting suitably embarrassed and retracting her statement and continuing to be excited in a more professional tone.
It's like people are forgetting how the world works. Maybe it's the muddle of how social media relates to your real life. As a general rule of thumb treat all identifiable interactions online as if they were IRL interactions. If someone with a position you are obliged to respect inserts themselves in to your private space, make your space actually private after profuse apologies. The IRL analogy would be screaming about how you work for NASA in a bar and swearing all over the place, giving off a generally less than stellar image of NASA employees. A senior member of NASA approaches and tells you to tone it down, now maybe in a bar you don't but online you have the luxury of google and time to process before you type, so to go back to the IRL analogy you can apologise profusely and either be more demure or go to a more private location and continue your offensive screeching.