This can't be so sure. In fact, many boys prefer to be with girls who think more about themselves. But there are some boys who prefer girls older than themselves. I think it may be because those older girls will suffer more than themselves. Or that is to say, I think I can bear some girls like Yujie who are more attractive to these boys than myself. Just like when we were in junior high school, or at that stage, girls developed earlier than boys and their thoughts were more mature. So at that time, it may be that they are naive, or that kind of girls are more difficult to attract boys' attention, while girls who are more mature than boys are more likely to attract boys, because they are more mature and tend to think more.
Moreover, some of their own practices or other things are easier to approach boys, because they are older than boys, so they know more, or think more, and then they can think according to boys' ideas, or have more foresight than boys' ideas, which can make boys pay more attention to them or attract them. This is indeed undeniable. Some boys, I think, may have been well protected by their mothers since childhood. Then, just treasure, if there is a girl who is more mature than herself, she will feel the same emotional transfer, because she needs a more mature girl or woman to take care of herself. So some boys may like girls who are more mature or older than themselves.
But as a boy, sometimes it's just a feeling, and it can't be said that girls older than themselves will like it. But if it suits you, you will like it, not necessarily because of your age.