I would guess that the difficulty of preventing cheating in an online setting discourages institutions from going fully online.
For masters work and above I suspect this concern is less prominent because it’s likely to be a smaller student pool (easier to police per student), doing higher level work (harder to cheat successfully), and to be less accessible to would-be cheaters (due to filtering at the bachelors level).