Great question — answering as the UphillTech team:
There are two kinds of foul shots, those that end in possession of the shooting team, and those that are up for grabs on a miss but awarded to the opposing team on a make. Normal foul shots on personal fouls are the second kind. Both teams are free to rebound a miss and the non-shooting team is awarded the ball on a make. However, for flagrant fouls and technical fouls the team that shoots the free throws is awarded the ball regardless of the result of the shot. Since the rebound cannot be contested the player is allowed to shoot by himself.
Full answer by wax eagle: https://sports.stackexchange.com/a/1518 (CC BY-SA 4.0).
Need it done for your business? UphillTech.