That's the reason behind it lol. They have to distribute the weight properly in the plane. If all passengers can just fit their luggage and bring it with them on their seats, the weight will all be put in that part of the plane and it's gonna be unstable. Just like how you would put something heavy in a car's trunk and not in the seat.