Isn't cedar bad for bees and other insects? Doesn't it repel them?

Western red cedar is a popular wood choice for hives all around the world because of its durability. It's very different from Spanish cedar or other aromatic cedars commonly used to deter moths and other insects. It's very common to find feral honey bee colonies living inside hollow western red cedar trees.

Western red cedar has been found to include built-in natural preservatives providing resistance to borers, termites, rot and fungus growth.