Keep in mind while this the case on PC/mobile. It is NOT at all how the AI works on console. This is just applies to Console players:
The AI routinely very often “misses” matches. Including 5, 4, and Skulls. This occurs BOTH when playing and when “suggesting” moves for the player to make, including Treasure Hunt. I have thus far been unable to discern the missing pattern to capitalize on this randomness.
This makes the AI both easier and harder depending entirely on RNG drops from the top screen. On PC the AI plays fairly consistently making it very predictable (listen to Tacit for 10 minutes). This inability of the AI to spot all matches AND the randomness of this occurrence on console leads to all kinds of theories (see the current thread of the AI “giving up”).