What causes a cat to start spraying?

There are emotional reasons why a cat should start spraying. The reasons why a cat might start spraying is not associated with medical reasons.