Why did i get a penalty for withdrawing from my pension?

was it because my 1099-R taxable amount was different from gross distribution?