A solar eclipse occurs when the moon passes directly between the earth and the sun. Although the moon reaches this position once a month, it does not always cross the face of the sun.
The moon's orbit around the earth is tilted 5 degrees. A solar eclipse can only occur when the moon's orbital plane aligns with the sun.

Only where the shadow cone touches the earth will the eclipse be viewed as a total solar eclipse.