You’re not required to explain your reasons in the letter unless you want to. In fact, many experts suggest keeping it neutral and brief. I used this guide when I had the same question:
https://jobssite.ca/tips-for-writing-two-weeks-notice-letter/ 2 week notice letter, and it helped me write a letter that was professional without oversharing. Including personal reasons or grievances might feel cathartic, but it can create unnecessary tension. Save those explanations for an exit interview if you’re offered one. The letter itself should just say you’re resigning and include your final working date. Simple is smart.