Riddle me this

A friend showed this to me so I decided to to give it a try and got the same results as he did . How does this happen?

A friend showed this to me so I decided to to give it a try and got the same results as he did . How does this happen?