Chances are, you overcooked them a bit. Pumpkin seeds can get a little bitter when they are overcooked. Also, depending on which spices you use, the spices can also turn bitter if they are cooked too long. I always check my seeds around the 8-minute mark and give them a good shake to ensure they don't overcook.