Can monsters cast spells?
Yes, they can-at least some of them can.
Generally, the spells that monsters cast are different than the ones that can be learned as a player, although the effects of some may appear similar to those a character could cast.