The essence of the overall debate summed up in one clip!
We can all agree that the second yellow is justified for the ongoing dissent.
(Hopefully) we can all agree that the first caution is unjustified ... no SPA given the length of time involved and no danger to the keeper.
In reality the attacker is completely stationary for the last few seconds and the GK decides to kick the ball straight at him, when multiple other options were available to him. For me, no offence at all by the attacker. Nothing he did, even the slight 'tracking' across the top of the area, actually prevented the release of the ball. And why was the attacker even in the vicinity in the first place? Because the GK was (legitimately) trying to eat up time by not picking up the ball. In that context, entirely reasonable for the attacker to expect the GK to 'waste' more time by putting the ball on the ground if he was able to do so. So loitering in the vicinity is exactly what you would want your attacker to do in that context ....