This may happen in the event there is no sufficient space in the cabin overhead compartments, or your cabin bag is considered unsafe for any reason and in this case it must be checked-in as hold baggage.
Please keep medication, travel documents and valuables in your handbag, as well as electronic devices containing lithium batteries, spare batteries, and power banks, as these are not allowed in the hold.