When I was a kid, I was taught these poems:
Humpty Dumpty I know Humpty Dumpty was actually a canon, but still it was taught as Egg twins. So only take it on context of rhyme.
Piggy on the railway
and so many others .
All these poems have sad ending, sometimes they are also rude.
What was going on at that time, why these poems are like this?