The U.S. military said an American soldier died when a roadside bomb hit his convoy southwest of Baghdad .