Azeotropes can only form when a mixture deviates from Raoult's law.
When the deviation is great enough to cause a maximum or minimum in the vapor pressure versus composition function, it is a mathematical consequence that at that point, the vapor will have the same composition as the liquid, and so an azeotrope is the result.