Because you just inadvertently labeled yourself as a potential flight risk. Bad managers don’t know how to handle that, and will assume you’re going to leave if you don’t get what you want. The “firing” probably won’t be immediate, but bad managers will passive aggressively manage you out.