I think the appropriate answer is that Jaws evolved by modification of the skeletal rods that previously supported the anterior pharyngeal gill slits.
According to a leading hypothesis, this marked a reduction in the number of pharyngeal gill slits an a change in the function of gills from feeding to respiration.