This really resonates with me. When I was just starting out, I was assigned a mentor- a senior dev who refused to pair with me, who would ghost me for days at a time, always promising that "even though he was busy now, he'd get in touch with me this afternoon" and then vanish until I'd ping him after stand up the next day, where he would make the same promise. All the while, I'd try hard to learn the codebase and fix bugs without help (fairly difficult for a brand new, fresh out of college grad) but without help from my assigned mentor, all I got was shame and derision in stand ups for not producing enough and for "being afraid to ask for help" (no one really believed that such an amazing senior dev would refuse to give me the time of day). This convinced me I was stupid, that I couldn't be a good developer, and that I should go back to QA. Burned out and dejected, I gave my manager a heads up, put in for a transfer to another team as a QE, and tried to deal with the heart-crushing reality that I was too stupid to learn something new and that I needed to go back to what I was at least marginally acceptable at.
Turns out, my request to change teams was approved but my request to change positions was denied and they kept me as a junior dev. But this time, my team actually responded to me. I found a senior dev who not only didn't mind answering questions, but he actively got excited when I'd reach out for help because in his eyes, I wasn't a nuisance, I was proactive. And it was infectious. All of a sudden, instead of dreading going to work or getting a ticket assigned to me, I got excited! I learned more in just a week with that new mentor than I had in three months with my old team. I never became a 10x rockstar code god, but I learned to love my job and found out a lot about myself. I didn't realize it before all this, but apparently I'm the kind of person who needs something from my team too.