github main branch isn't asking for compare & pull request when i git push on local feature branch

I was working on my project and made a few changes on the feature branch#1. I did git add ., git commit -m "commit message" and git push on my feature branch#1, normally github would show a compare & pull request on main branch for the commit I just pushed from feature branch#1, but this time main branch didn’t prompt anything.

I’ve worked on this feature branch#1 before and everything was fine, I don’t know what caused this. When I checked this feature branch#1 on github, it does say it’s 1 commit ahead of main branch.

I created a second feature branch#2 to test it again, I followed the same procedure and this time github main branch showed me pull request, but when I checked the request it included the commits I pushed on my other feature branch#1 as well.

So, why isn’t github asking me to compare & pull when I git push my commits from feature branch#1, yet it worked when I git push on feature branch#2 and it includes the commits I made from feature branch#1?