Switzerland's policy is to actively defend its territory and neutrality from all threats. Eire, being an island on the edge of Europe, has a far less aggressive attitude towards its neutrality (vide its relationship with the UK), and faces a different threat. Like all nations, it matches it defence spending to the resources available and to the perceived threat. I do not think it is more complicated than that.