A 10-speed cassette puts 10 cogs into about the same amount of space in which a 9-speed cassette only has 9 cogs so the spacing between the cogs is slightly different.
9-speed and 10-speed shifters will not interchange and index properly. A 9-speed chain will be wider and likely have issues with a 10-speed cassette.
__________________
My greatest fear is all of my kids standing around my coffin and talking about "how sensible" dad was.