I wager because your mirroring receiver is attached to the TV (you didn't specify Miracast, AppleTV or other). TVs often DO NOT pass thru audio signals to your Receiver, it wants:
Source Component (like AppleTV) ----> Receiver ----> TV.
and NOT Source Component ---> TV ---> Receiver.
Try the analog connections, but u only get stereo if it works.