Email with securitycode, without me doing anything

Im curious if this means someone had my exact password and email, or is there some other way to make someone recieve the email with a securitycode.