Yes, a cover letter is necessary when applying for a UX designer job. Employers will use your cover letter to determine if you are qualified for the position, so this is a great opportunity to catch their attention and be considered in the next steps of their hiring process.