rainbow cookies originated in italian immigrant communities of the united states during the 1900s to honor their native country. they are also called "tricolore" because of the resemblance to the italian flag with white, red, and green layers.