I work in the UK in a tech company and I thought the opposite. Here we would definitely have let her go as well for her aggressive communication style. No matter how good you write code, if your everyday attitude is creating a toxic environment around you then you're not welcome, because it drags down everyone else and as an employer it is a responsibility to create a nice environment to which your employees are happy to wake up 5 days a week.
Focusing on the one communication we've got (her message to the data scientist) how would you have delivered it within your company? I (UK too) would have used the language she used or softened it slightly, depending on the recipient.