Question: why do you get a technical foul for hanging on the rim?
Answer: Players are not allowed to pull themselves up on the rim, nor are they allowed to hang on the rim after a dunk attempt, unless they are doing so to avoid injury to themselves or another player. ... This type of reaction is an immediate technical foul for hanging on the rim.