Interference is caused by the variation in path length between the two slits
Interference pattern of light waves shown with orders of maxima and minima