It looks to me like they were trying to hide behind the barrel. I agree with you that covering the kid would have been better, but it seems a bit foolish to say he wasn't trying to protect him.
The barrel did indeed provide protection from some of the fire.