Retirement tax questions

i called the institution who made the 1099R and they told me that because i rolled it to a roth IRA and not a traditional IRA I am getting taxed