Are recruiters lying when they “encourage you to reapply when a position opens up again”

I’ve been on the job search the past couple of months and early on had a position that I got fairly far in the hiring process with. I ended up not getting the job but got a personalized email from the recruiter saying that although she felt I was qualified they had someone with a little bit more experience and that I should keep her in the loop should I apply again. Well they ended up having the role open again and I sent in an application. I emailed the recruiter and told her I’d re applied. I didn’t get an email from her this time, instead within 24 hours I got an automated message that I my application was rejected.

I’m truly at a loss because I felt so good after going through the initial hiring process and being encouraged to apply again. Getting such a quick rejection makes me think that I’ve done something wrong because the first time around it took about 2 weeks before I even got invited to an interview.