They both suggest a coming together. If you relate both words to politics, alliance suggests that two or more political parties agree to support a common policy. They form an alliance over this or that issue but only with reference to that or this issue. Coalition again suggests that political parties come together to agree on certain issues but when they form a coalition, it is formalised and they work together as a combined political force.