It’s only called ‘childish’ because most children get excused for it, because of lack of experience. When an adult does it, they won’t get excused, because we expect them to have found a better way to handle their frustrations. Many people simply never learn.
It could be because they don’t want to learn, or it could be because the people around them reward that kind of behavior. There are probably as many reasons as there are different people.