Upvote:6
Not sure this really qualifies as an answer rather than just a comment, but here goes...
This question has been asked quite a few times for various countries, and it is generally considered a gray area which was not anticipated by lawmakers when immigration statutes were drawn up (as MadHatter points out, Canada is a notable exception).
In general, you are not allowed to work on a tourist visa. In addition, they could be entitled to tax you on that income (though in theory only if you are resident in the US, i.e. stay there over 6 months in a year, but the rules are complex).
Working a bit while you are on holiday or doing business is one thing. Working full time for 3 months while you are in the US is probably over the line.