Why cats like to sleep at the foot of the bed:
1. Cats like to sleep at the foot of the bed, probably because they like to stay in a higher place, which makes them feel comfortable.
2. When a cat lacks a sense of security, sleeping with its owner will make it feel safe, and it will choose the foot of the bed so that it can escape immediately if its owner is unhappy. 
3. Cats are quite cautious, and the foot of the bed offers a good view, making it easier for them to observe their surroundings.
4. The foot of the bed is close to the ground, making it very convenient to get out of bed and move around without disturbing the owner.
5. The temperature on the bed is suitable and very comfortable for the cat, which will also cause it to like to sleep at the foot of the bed.