For something to not be right or not be logical.
For a matter or situation to become worse or go wrong.