I've heard of various Walmart stores doing this. They put all the ammo on clearance and once it's gone, get rid of the ammo section and convert it to something else. My guess would be there's a certain minimum revenue per square foot for a section like that to be allowed to remain. I've heard of various Walmart's clearing out all their ammunition, usually urban or city stores, and then expand other sections. More rural stores that I would expect have higher ammunition sales tend to keep them. If they were doing it for political reasons they'd likely make a big announcement to try to make themselves look good.
Occasionally a store will also increase the size of their ammunition section if demand is high enough and the potential revenue makes it worthwhile. I've never personally seen that happen with a Walmart but have with a Canadian Tire. One store added a second cabinet for ammo and started stocking pistol ammo regularly. I asked a supervisor about it and he said they had a lot of requests for pistol ammo and their ammo sales were higher than most other Canadian Tire stores in the area so they added another cabinet. It was for the sake of profits, not solidarity with gun owners.