They usually rise because more people are evacuating the area and a lot of people need gas so gas companies take advantage of this and raise their gas price so they can make a profit off the hurricane.
Gas prices rise following a hurricane because they know many people need to evacuate and they think it's the perfect opportunity to make an extra couple bucks.