If a security has been heavily short sold (relative to its liquidity), or had other types of bearish positions taken on it (e.g. derivatives positions) then, if the price rises, there can be heavy demand from bears seeking to cover their positions and limit losses.
The result of this is that the demand from bears increases prices still further, increasing the bears' losses. This is a bear squeeze.