They are called Bollards. But these aren't defensive as suggested.
Look closer. There's no curb.
This is a new style of store (from the architecture) and curbs have been eliminated for ADA reasons (benefit of wheelchairs).
As such, there is literally nothing to prevent a car from drifting forward and hitting the building; it's not even clear where you should stop the nose of your car. There's clearly intended to be a sidewalk there, but lots of people will simply pull right up and block the sidewalk. I see it all the time, and often have to walk around the offending car. Hence, the bollards.
The benefit (ADA-wise) is that wheelchair users and other limited-ability people are not confined to using the "handicap spaces" - and can park anywhere and directly access the sidewalk. This is consistent with US "ADA 2.0" doctrine that people in wheelchairs should be able to use the same route as everyone else.
These bollards are not a fortification.
Keep in mind, OP's example is an ordinary convenience store. It lacks any particular national importance; it's not a gathering point for tens of people let alone thousands. Ram-raiders are not an issue here, since that is to penetrate locked doors in empty stores, and these stores are open 24x7.
Here's how you can tell. There are clearly marked parking spaces, and the bollards are set on the center-line of the parking space. The design really depends on cars at least making some attempt to park inside the lines.
Bare minimum width of a parking space is 8.5 feet (2600mm), because you need at least 24" (600mm) width to open the car door. Well the bollards are typically <12" (300mm)wide, and these look like 6" trade size pipe (168.3mm). That means with the standard "guard a curbless sidewalk" bollards, you can easily drive a car between them.
So, completely worthless as a fortification.
When you look at bollards as fortifications, there's less than 5 feet (1500mm) between them. Further, this 6" pipe wouldn't do - even filled with concrete, it's just too flimsy.
* ADA 2.0 isn't really a thing, I just made that up as a slang way to talk about it. What is true is that there was a major shift in ADA doctrine, as they discovered that (gosh) wheelchair users rarely travel alone - and often travel with others in wheelchairs, and that tends to overwhelm limited accommodations like lifts tacked onto stairs.
- Initially, ADA was to provide access at all. Abled people could climb the magnificent steps, and wheelchair users go around the back of the (older) building by the dumpsters and people shooting up, and push a buzzer and wait 5 minutes to have a guard escort them through the non-public areas, and it's 15 minutes before they actually catch up with their friends.
- The new doctrine is that wheelchair users are equals. You're not allowed to build the grand staircase, and you cannot create barriers that would send wheelchair users on a different path. Curbless construction is consistent with the new doctrine.