Retirement tax questions

If you actually read my message you would see I never filed my 2015 tax return and I began paying it back and I did not understand why I received a 1099R if it was a loan.  I mean why do I claim as income on my taxes if I am paying it back.  It was a 3 year loan against my retirement?