The question

I am an Indian citizen & mother of a U.S.-citizen child born in the U.S. in 2018. both lived in India since then. The child’s father now U.S. citizen (earlier green card holder). Due to a circumstance, I may need to travel to U.S. with my child & want to understand safest immigration options. If I travel on B1/B2 visitor visa, what practical risks - can I stay till the time green card is processed, is re-entry guaranteed, can a visa be cancelled? allowed to rent long term housing or work remotely for my Indian job? Does having a pending family-based petition or a U.S.-citizen minor child offer any protection from removal while on a visitor visa? The father says he will sponsor an IR-1 spousal visa now that he is a U.S. citizen, but what if he does not follow through after I enter, What if he files for divorce while I am there on a visitor visa? Can IR1 process be done while I am in India? past marital disputes, separation, or complaints filed by him affect the Green card petition.?