What was the penalty against Alabama that cost them a TD?

Not trying to look a gift horse in the mouth or anything but I didn’t understand the penalty they got. Was it a bad call or was it truly some kind of penalty?