I think fantasizing is the big thing. People think fantasy is innocent but it makes the other person an object in your mind and corrupts your relationship with them as a sister in Christ.
The coveting commandments are about what goes on in your heart. I think the flirting, setting up situations, etc are sins against “ thou shall not commit adultery”