Because Basketball is a much faster-paced sport than soccer, goalposts would slow down the game's pace. It could lead to injuries.