WASHINGTON—Energy firms with interests in the Gulf of Mexico, from Anadarko Petroleum Corp. to Transocean Inc., have ramped up their lobbying efforts here in recent months amid a flurry of government activity stemming from the oil spill.

...