There are few reasons:
1. Emissions regulations (although this varies depending on who is in charge)
2. Cost of EVs going down (competition and scaling) which should increase profit margins
3. Younger generation skewing interest towards EVs
4. Brand perception of being future focused
It's why Toyota is actually moving towards BEVs now. And as a global company... they still have to compete in other parts of the world like China and Europe.