This is just a theory, but I think that the timeouts are called to shift the swing of momentum in your favour. So if they have scored a few points in a row, or you have been missing a lot in a row, a short timeout can suddenly swing things in your way. Could also be used if your players stamina is low and he is getting tired so maybe a 30 second rest can help.