It is believed to be a result of damage to the nerve innervating a muscle of the eye known as the ciliary body.
The problem may be located at the ciliary ganglion, a kind of nerve junction structure from which the nerve to the ciliary body runs.