Why were some countries allowed to remain neutral in World War 2?

Because they chose to remain neutral But coutries like Switzerland was "suicide" to attack every house owned at least one firearm cities were/are startegicaly build hard to reach with ground force countries like Swenden and the US which sold weapons and resources to both sides were of a greater importance to not get involved in the war