Why some flights are turbulent

They involve flying through this. It was the bumpiest flight I’ve been on in a while. All the small children on the plane wailed in unison every time the aircraft heaved!