The deficit is quite high and would be frightening to a Latin American country. Foreign money coming in buying plants, factories, and so forth. The solution comes as the problem appears. If growth is down and the deficit up, then you have a problem. Indonesia is more of a problem.
Inflation is higher and the economy has lost some competitiveness.
A country with oil will see the government involved in the economy. In Indonesia, it is more involved than it should be. The uncertain political situation has made investors reluctant to commit resources. The potential for problems is greater than in Malaysia. Money can leave the country quickly.