Updated

A senior defense official tells The Associated Press that some of the 20,000-plus documents and emails between the top U.S. commander in Afghanistan and a Tampa socialite were "flirtatious."

It wasn't immediately clear whether Gen. John Allen was flirting with Jill Kelley, or whether he was the recipient of flirtatious emails.

The defense official spoke on condition of anonymity because he wasn't authorized to discuss the case publicly.

Defense Secretary Leon Panetta revealed early Tuesday that Allen was under investigation for his communications with Kelley, a woman also embroiled in the scandal involving ex-CIA Director David Petraeus and his mistress.