Microwaves aren't very efficient. They'll be emitting IR radiation that will warm the glasses of water.
not from a short distance away, it takes a fair bit to heat something like a glass above room temp otherwise your light bulb would make all your water warm.