Retirement tax questions

In my last message about QCD I should have mentioned that TT completed the iQCD info correctly on my 1040.  So why did the IRS separate out my return for audit and claim that I had not reported the RMD from my IRA?.......who knows!