Afaik, Myanmar is not a hostile country. Neither the elected government nor the military dictatorship has animosity at the state level.
If pro-China government is installed in Myanmar it means that it automatically becomes hostile to India.
Controlling trade routes explains many wars and coups.