AI targeting illegal targets which also incorrectly leads to fizzles
Say you are protected with a Leyline of Sanctity providing you with Hexproof. The AI is still able to target you with, say, the +1 ability of a [[Liliana Vess]]. The only legal target here should be the owner of the Liliana as they do not have Hexproof/Shroud protection, however, the AI is still capable of targeting you and the gamelogs say that the ability has fizzled, but this is not a case that can logically play out in a real game of Magic as it should have been impossible for you to be targeted in the first place.
The only case where fizzling can occur is when the target of a spell or ability is no longer a legal target while said spell/ability is on the stack and before it resolves. Let's say your opponent uses the +1 ability of the Liliana to target you to discard, but then you (somehow) Flash in a Leyline of Sanctity. The Leyline resolves first and is now a permanent on the battlefield, and then the Liliana ability on the stack resolves, which should then fizzle because you are no longer a legal target.
I don't know if something like this can happen in a Human vs. Human match on XMage so it would be greatly appreciated if someone who has come across this situation could share in this post.
I noticed that same while testing Crown of Doom.
[[Leyline of Sanctity]] [[Liliana Vess]]
Leyline of Sanctity - (Gatherer) (Scryfall) (EDHREC)
{2}{W}{W} Enchantment If Leyline of Sanctity is in your opening hand, you may begin the game with it on the battlefield. You have hexproof. (You can't be the target of spells or abilities your opponents control.)
Liliana Vess - (Gatherer) (Scryfall) (EDHREC)
{3}{B}{B} Legendary Planeswalker — Liliana 5 +1: Target player discards a card. −2: Search your library for a card, then shuffle and put that card on top. −8: Put all creature cards from all graveyards onto the battlefield under your control.