You're correct that the taste of mold is typically associated with the presence of actual mold or fungal growth. If the chickpeas had a distinct moldy taste, it's likely that there was some form of contamination or spoilage.
As you mentioned, the quality of the chickpeas could be a contributing factor. Poorly stored or low-quality chickpeas can be more prone to mold growth or contamination. It's important to ensure that the chickpeas you purchase are fresh, properly stored, and from a reliable source.
Additionally, it's worth noting that mold can sometimes be present in the environment, and cross-contamination can occur if the storage container or utensils used were not properly cleaned. It's always a good practice to use clean equipment, including pots, pans, and utensils, when preparing food to minimize the risk of contamination.
If you continue to experience issues with moldy tastes or have concerns about food safety, it may be helpful to consult with a food safety expert or a healthcare professional who can provide further guidance based on your specific situation.
Remember, it's important to prioritize food safety and quality to ensure a positive and healthy culinary experience.