Hard to imagine that infection and recovery from the actual virus confers less immunity than the vaccine, but even without knowing that, it seems reasonable that people who have already recovered should be a lower priority for vaccination than more at-risk groups.
It’s not hard to imagine, it’s a well observed phenomenon in other diseases like HPV. Antibody titers were higher for the mRNA covid vaccines than convalescent plasma if I remember right.
Most people probably are at lower risk, but some people are dying from reinfection. They certainly weren’t.