But Mr. Chavez - a frequent critic of the United States - has been developing closer political and energy alliances with South American countries , China , Russia , India and Iran .