It looks to me like Glasner only wanted to leave himself, looking for any pretext to resign, then grounded Guehi and wrecked Liverpool's deal instead. Terrible character.
Now he may be off to Leverkusen leaving a mess behind him, which benefits neither Crystal Palace, nor Liverpool. Much less Marc Guehi. Only Glasner.