where does cheating begin?

My best friend has been married for a little over a year and a half. They have had issues starting   About 6 months in. They haven't been intimate for about a year and have started talking about getting divorced. Last night she was hanging out with a guy friend of ours. They were flirty and drinking and she laid her head on his shoulder, which doesn't seem like much but to her she feels as if she had cheated. I don't see it like that but I'm interested in what others think.