The safety barriers are surrounded by foam to soften 'cushion' the impact if they are hit. The word generally applies to similar examples of hard things being covered by something soft. It is also used metaphorically "the shock of losing his job was cushioned by a generous redundancy payout" for example.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.