TV does not allow 5.1 passthrough from optical to optical. It's output is only stereo. The amp decodes/encodes it to 5.1. That's why it's better to optical to amp.
Yeah, I'm with you that I will always connect the source straight to the amp, but my TV really does pass the signal received via HDMI over to its optical out.