H4 visa for transit in USA

My wife has stamped H4 visa. I am yet to travel to USA with my H1b as there is no position available due to current situation. We are currently in mexico and planning to go india . I have b1 visa as well but my wife has only H4. My question is can we travel to India via USA as transit using H4 visa.
Please provide some suggestions will there be any issue using H4 visa as transit

You can use your B1/B2 for transit however your spouse will need a transit visa. H4 visa can’t be used for transit purposes unless the primary H1B holder has a valid H1B job offer/active employment and use H1B to enter the US.