First of all, I think < 1 month into a residency is far too early to be making huge decisions like this. But you'll have time to really think about it (see below).
You'll have to talk about this with your program director, because their letter/input will matter a lot and you cannot be a successful applicant if you are on bad terms with them
You'll have to finish this year, first of all because none of your current faculty's letters will have any merit if they can't even discuss a full year's performance. And secondly, because quitting in the middle of the year is a red flag that will close a lot of programs to you.
Even after finishing this year, you'll have to enter the match anew and start over as a PGY1. No other intern years will count for Ob/Gyn.
With your anesthesia program director's blessing, maybe you can meet and chat with ob/gyn attendings at your current program, and maybe get involved in some research to fill your gap year while you are applying. That can be where your ob letters come from.
If you do all of the above, applying as someone who decided to switch specialties (as opposed to someone who got fired) you'll have a decent shot at matching somewhere.