Perceptions are fickle, and that includes the local population. There are many cases of countries the US bombed whose population later became strong supporters of the US.