Actually, they probably occurred at nearly the same time. Consider the grain harvesting and storage capabilities of the time, plus the periodic scarcity of food, often just before planting season, and all this in a warm environment. Perfect situation to discover the joys of fermentation.