Yes but every risk has a price.
For some, variable rate risk is something they can't afford to take as it could send them broke in short order. No choice but to lock it in.
For others, fixing interest rates introduces too much inflexibility in their lending so they prefer to keep it...