short answer: you aren’t allowed to work until you marry, apply for AOS and EAD and receive your EAD. so, you cannot work as soon as you arrive to the US.
Long answer:
You are not allowed to work any jobs including remote jobs/ jobs based in another country.
Additionally, the job you are working now would have to go through a process to be compliant working with someone based in the US (and pay your U.S. taxes and other costs) or you would have to be working as a contractor and pay taxes on the income you earned yourself.But you have to be authorized to work in the US. So, you will be sitting around the home waiting for the EAD Or green card before you can work. hopefully it will only be 3 months or so but be prepared to wait up to a year.