How does emotional infidelity begins?

It usually starts out as mild flirting and as things get more and more out of control it leads to actual sexual infidelity.

It starts as stupid jokes and simple conversations. It starts very innocent and over time feelings develop. Once the feelings develop it will usually be just emotions for a good while.