OPT to CPT to H1b

I am currently on OPT extension and I have filed my H1-B application for the fiscal year 2022. My OPT is going to expire in October. I am planning to pursue my Ph.D. in the upcoming semester. Will my application for H1-B get impacted if I take admission into a new university and transfer my SEVIS for the upcoming semester( Probably starting in August)?
Thank you

H1B is based on the job offer from the H1B employer and has nothing to do with what you are doing currently.