When you have anxiety, you might experience racing thoughts for a number of reasons, such as being stressed about something at home or work.