Sinusitis can be caused by a variety of factors including viral infections, bacterial infections, and even allergies. Viral infections are the most common cause and often follow upper respiratory tract infections. Bacterial sinusitis is less common but can occur as a secondary infection. Fungi can also cause sinusitis, particularly in immunocompromised individuals.