This is indeed weird, there doesn't seem to be much actual damage to the barrier.
A few laps behind the safety car should have been enough to rearrange it.

But then again, they bring out safety cars and red flaggs for all sort of idiotic reasons nowadays.