Pharyngitis can be caused by viruses (like cold or flu viruses), bacteria (such as Streptococcus), allergies, irritants (smoke, pollution), or dry air.