Her job was developer-oriented PR. Her actions resulted in a loss of trust in SendGrid by proxy, as well as direct negative impact on SendGrid's operations.
By any reasonable measure, that's grounds for termination; her actions harmed the company's reputation and cost them financially. If you can't fire someone for that, I'm not sure what you could fire for.