The exact cause of squint is not really known. The movement of each eye is controlled by six muscles. Each of these muscle acts along with its counterpart in the other eye to keep both the eyes aligned properly. A loss of coordination between the muscles of the two eyes leads to misalignment. This misalignment may be the same in all directions of gaze, or in some conditions the misalignment may be more in one direction of gaze, e.g., in squint due to nerve palsy.
Sometimes a refractive error hypermetropia (long sight) may lead to inward deviation of the eye. Poor vision in an eye because of some other eye disease like cataract, etc. may also cause the eye to deviate. Therefore it is important in all the cases of squint, especially in children, to have a thorough eye checkup to rule out any other cause of loss of vision.