Because it shows some thoughtfulness. 'I know you like x so here's money to spend on that'. Cash looks like you didn't bother.
We should probably normalize Chinese Red envelopes because honestly I'd take a nice envelope with a hand written note and some crisp bills over the annoying gift cards (https://en.wikipedia.org/wiki/Red_envelope)