There are a number of reasons why your epazote may be turning yellow, such as too much sunlight or heat, drought conditions, infestation by insects or disease. The best way to determine what is causing the change in color is to inspect the plant closely and check its roots for any signs of insects like aphids or fungal growth.