One political ideal of both was that the US should not stick to its isolationist policies, but rather take part in worldwide politics and that's why they were both active in foreign affairs. The second was trust busting, they both fought things like social injustice, monopolies, and similar.
There were two alliances since Serbia and Russia were very close friends and allies Russia declare war on Austria Hungary then Germany declared war on Russia