Costa must have brushed Capdevilla with his elbow and the player went down. Did anyone else see the way the Spaniard reacted when he saw that the referee was interested?
Doesn't help when you're on a team that doesn't play football.
On top of the use of Ronaldo, I also don't understand why teams start to attack the opposition goal when there is 5 minutes to go after losing for half an hour. Italy did the same and looked dangerous.