As another user already mentioned, Indonesia is going to lean towards whoever they think will win.
Another point of consideration for Indonesia is that China is a lot closer than the US, but again, refer to point 1.
Re: bolded text, saying something does not mean they are wholeheartedly behind it. They get benefits from playing towards both sides, and will continue to do so as long as it lasts.
Indonesia playing both sides is the textbook definition of neutrality. That suits China fine but screws up US plans to use Indonesia to contain or attack China