Why can we time individual stocks but we “can’t time the market”.

Active traders are all about maxing gains by buying stocks when they feel they will go up and selling before they think will go down.

However when people try to apply this principle to index funds they are continually told that it’s not possible/profitable.

Please help me to understand why they are fundamentally different decisions. Thank you.