Clearly he was about to comfort her but recalled in the last second that she's part of the harem belonging to a duke's son, thinking on his feet, he quickly bends the physical reality with a spell, making his hand disappear before accidentally touching her.
Don't needlessly look down on the artist when it's very clearly intended, not a sloppy mistake.