A foul occurs when a player or coach breaks a rule covering either contact with an opposing player of unsportsmanlike action. Basketball is a so-called non-contact sport but basketball rules recognize that is not really possible to have 10 players running around a small area without making some contact.