An Xbox player was given a year-long ban for recording nude scenes in Baldur’s Gate 3.
Any clips you record on your Xbox are uploaded to Microsoft’s servers by default and may be automatically flagged as explicit content, as /u/Daddy-Vegas on Reddit found out when he automatically received a combined 390 day (4+21+365) suspension from Xbox Live for three clips he recorded.
His first appeal was apparently rejected, but subsequent appeals led to his ban being lifted after the gaming press picked up the story.
If that happens I guess your ‘friend’ reported you.