Mileage Reimbursement taxable?

I received a 1099 from a clinical trial I am in. I received mileage reimbursement and was taxed on it. I am not an employee nor a sub contractor. It was paid based on the IRS per mile rate.  Why was I taxed and is there a form to offset this?