Understanding AI Content Detectors: How They Identify Machine-Generated Text