Q,
One can't be on AOS pending status when applying for 485. Has to be on non immigrant status.
OP,
Based on what you described, I don't see your wife on H4 status right now. She started using her EAD in September 21, and H4 approval came in Oct 21. Does she stopped using her EAD immediately after getting H4? If not she is not on H4.
Going to Mexico is an option. Automatic Visa Revalidation puts her back in H4 and you can apply for 485.
BTW, with recent USCIS guidelines, interfiling is a better option than refiling your 485. I am not sure what extra benefit you are going to get by refiling. For interfiling your wife doesn't have to be in H4 status.