It is usually to cover up some mistake or area of weakness. Sometimes it is to brag about something and make themselves look better.
To attract bees and other pollinating animals to help reperduce
Hello! An answer I can give you is the “Chinese exclusion Act”
This act was published May of 1882 and repealed December of 1943.