It may be 2019, but there is still this weird societal habit that assumes genders for specific jobs.
The mistake goes both ways. Nurse, teacher, nanny...all immediately bring the image of a woman, even though there are many men in those professions.