Tossing and turning causes breakage due to friction from standard cotton...
https://messiahwmff829.lucialpiazzale.com/what-should-i-do-if-a-bonnet-keeps-slipping-off-at-night
Tossing and turning causes breakage due to friction from standard cotton pillowcases. Switching to silk helps, but you can also try a loose braid or a silk bonnet to keep your ends protected while you sleep