The flavor you're tasting is the almond paste or almond extract. It's almost like a light liqueur taste. It's what makes a rainbow cookie have that unique flavor. A lot of Italian desserts use that flavor.