This is actually based on the eating habit of "the main food is salty and the supplementary food is sweet". In other words, the preference of the north and the south for the taste of zongzi is related to the role of zongzi in meals.
The Dragon Boat Festival, which existed in the pre-Qin Dynasty and flowed through the Han Dynasty, has always been an important festival that Chinese people in the north and south are concerned about. It was not until the Tang Dynasty that the Dragon Boat Festival became a legal "national festival" from folk customs for the first time, and it has since become one of the most important festivals in China. As for the origin of the Dragon Boat Festival, there are different opinions.