Employers look at a resume first. They typically look at the resume first to make sure you have the desired skills and experience before taking the time to read your cover letter. This is especially true in fields that require specific hard skills, such as IT and engineering.
However, in creative fields such as editing, journalism, and copywriting, employers may read your cover letter first to ensure that your writing skills are at the level they require.