Brazilian wonderkid Endrick was involved in an off-ball collision with Spaniard Marc Cucurella, which led to a sideline brawl involving Vinicius Jnr.
The two countries played out a tense but ill-tempered 3-3 draw at the Santiago Bernabeu on Tuesday evening.
17-year-old Endrick, who scored his first international goal against England on Saturday, also scored against Spain – at the home of Real Madrid, who he will join this summer.
He also showed his combative side during a clash with Chelsea full-back Cucurella in the 78th minute of the match.
Viral footage from the match showed Cucurella blocking Endrick’s run, before the Brazilian swung his arms at the Spaniard and then showed his immaturity by kicking out twice at him.
Brazilian wonderkid Endrick was involved in an off-the-ball clash with Marc Cucurella
After being blocked by the Spaniard, he waved his arms and then kicked out twice
The tackle on Cucurella sparked a row involving Brazilian star Vinicius Jnr, with Spaniard Mikel Oyarzabal appearing to try to calm him down.
On the second throw of the boot, Cucurella fell to the ground, clutching his leg in pain.
It made the Spanish bank furious with Endrick, as they rushed to protest and complain that the teenager would be carded.
Vinicius, who had been substituted not long before, was pictured fuming on the Spanish bench, wagging his finger as Spaniard Mikel Oyarzabal appeared to try to calm him down.
Fans made light of the incident, with one suggesting he was shown a red card on his Bernabeu debut, with Endrick just being booked.
Another joked: “He gets a kick, you get a kick, everyone gets a kick!”
While another commented: ‘Petulant, stupid and completely unnecessary.’
It wasn’t the only time emotions flared during the match, with Vinicius walking up to Aymeric Laporte before being replaced and elbowing him in the back.
One fan on X (formerly Twitter) appeared to repost a video of the Brazilian forward bursting in behind Laporte, writing: “I just want to play football” with several “crying emojis.”
Endrick controls the ball as he is grabbed from behind by Cucurella during the 3-3 draw
Laporte then commented on the post, writing in Spanish: “Maybe he just wanted to dance?”
He also furiously confronted Alvaro Morata, who was standing in the home team’s technical area.
The Brazilian winger had to be dragged away by his teammates as he continued to protest at Morata.
Spain thought they had won the match with Rodri’s penalty in the 87th minute, before Lucas Paqueta scored one himself in the sixth minute of stoppage time.