The United States maintains Iran is trying to covertly develop nuclear weapons , but Tehran says its program is meant only to meet the country 's energy needs .