There's always risk of having your visa denied when changing jobs and plenty of situations where you get in a really bad place with something out of your control.
I know plenty of people that stick to a sub-optimal job out of fear of being stuck out of the US.
I know plenty of people that stick to a sub-optimal job out of fear of being stuck out of the US.
Changing jobs is very stressful on an H1B visa.