Because you didn't have the butter and the cream cheese at room temperature. It's a necessary step to let them soften so that they integrate well when you mix them. They should be completely smooth before you add the powdered sugar.