Some refineries are closing because they are not profitable. Plus, many in the U.S. are antiquated and upgrading is difficult as air emission permits are not easy to get and the government bogs them down for years before approval.
The majors, what few we have left here in the U.S., are getting out of downstream assets (refineries, retail stations) since most of their profits are made in crude oil production. Pipelines are "regulated by DOT" so you pay the going *government* freight costs.
So you will see more independents (Valero, Tosco, Lukoil (Russian), etc) taking over the retail refining and sales. Citgo is about 100% owned by Chavez (PEDVESA) and much of the old Texaco is Saudi Refining (Motiva, Star Enterprise, etc).
Blame the majors? Not really....