No, it would not cause that. A black eye is a relatively common result of injury to the face or the head. It would occur when blood and other fluids collect around the eye area, swelling and dark discoloration. That is to say, black eye would be occurred when there is powerful and strong enough force to break your thin blood vessels around your eye area. Rubbing you your eyes, there is not possible to cause black eye. In order to cure your black eyes, you should take a rest and place ice at the early stage after the injury, to help to decrease swelling and pain. Because ice can constrict blood vessels and decrease fluid accumulation. But you should wrap the ice in a cloth to avoid potential cold injury.