Waking up with knotty hair usually comes down to friction against your...
https://theaustralianpost.com.au/protecting-hair-while-sleeping/
Waking up with knotty hair usually comes down to friction against your pillowcase. Cotton can be rough, whereas silk lets hair glide. Beyond bedding, try a loose braid or bun to keep ends protected overnight