I don't have two dogs, but the way Wally vascilates between learning fast and uh...duhhh it can seem like two dogs depending on the task at hand.
When that happens, I just walk away, often leaving what he could have gotten as a reward in the room - but out of his reach. He can sniff and "wish he had it" but has zero chance to get it.
After about 10 minutes, I come back in and try it again. Many times he's suddenly super eager (and learns fast) but sometimes the power is just out in his head. So I pack it up, "switch it off" as Gordon Ramsey would say, and just put him on his bed/crate and give each other a break from each other.
I try not to lose it - but sometimes, I have one of those days and "silently snap". Of course that has him following me around, sitting every time I stop moving.