There is no such thing as friends when it comes to relations between states. It is cooperation along the lines of mutual benefits and interests, political understanding, good trading partner relations and historic connections that tie populations to each other.
If any of those bonds are broken or one steps on the other one’s foot, then good relations breakdown.
Political games your leaders play are the important ones that decide who your so called friends/partners are. So it is important to choose the right leaders to be at the helm of your interests to guide the country in the correct way with the right calculated decisions. If not performed well, or they put their political ambitions ahead of their country or “be deceived” too often by your “friends and partners”, your country either end up being a pariah state and/or become hostile with all your neighbours. Once friends turn against you very quickly.