This kind of situation arises when the President is from a different party and the Congress is made up of opposition members. Although the policy may be liked by the public, but the opposition members of the Congress would oppose it for the sake of opposing it. I hope the answer has come to your help.