Because this is the requirement of GDPR, CCPA, and other privacy laws. Websites must inform users about cookies used and their purpose before using them. Cookie messages or cookie texts provide this information and let users choose to accept or reject cookies that could be stored on their devices. Use CookieScript to manage your cookie messages or texts.