AAC 5.1 is not supported on (some/many/all?) Roku devices, so it's transcoding and packaging it in MKV. Whether you can force it to direct play will depend on all the equipment involved.
You can read this for some not so helpful information on supported codecs:
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.