The phrase combines petulant, from Latin petulans, meaning forward, impudent, or insolent, with child. In modern English, petulant narrowed toward the idea of childish sulkiness or irritated impatience, which makes it a natural modifier for child and for adults being criticized as childish.