If I’m not mistaken Congress passed a law giving veto power to the states on offshore drilling, if they met certain requirements.
Not that that’s a good thing, but I’m just saying as President, McCain couldn’t change it at the stroke of a pen even if he wanted to.