Why do balls bounce higher on hard floors than on carpet?

a) They don't. That is a myth.
b) The carpet friction creates thermal energy.
c) The carpet fibers attract the molecules in the ball.
d)The carpet is so nice and soft the ball doesn't want to go.