it seems that a lot of wars nowadays are really civil wars. people from different ethnic groups in the same country sometimes fight for power in that country.
i’d say the main reason is poverty. countries and their people get frustrated because they have so little. if their neighbors have some resources, they try to steal them by military force.