Orlando Bloom’s clumsy bid to slug Justin Bieber was spurred by the fact that the “Lord of the Rings” star could no longer face his wife, Miranda Kerr, after Bieber got cozy with her at a 2012 Victoria’s Secret modeling show, The Post has learned.

“He never looked at her the same,” a Bloom pal told The Post.

Bieber, meanwhile, upped the ante in the duo’s lightweight celebrity sparring match Wednesday by posting an Instagram picture of Bloom crying on the red carpet outside a 2013 Broadway afterparty.

The Canadian crooner quickly took down the photo — in which Bloom was overcome with emotion at his debut in “Romeo and Juliet” on the Great White Way.

But Biebs wasn’t finished striking back at the punch-throwing actor. He also uploaded a sexy bikini shot of Kerr on Wednesday morning, obviously meant to make the Middle Earth elf see red.

Kerr and Bloom in happier times in 2012Kevork Djansezian/Getty Images

Bloom and Bieber went to war early Wednesday when their paths crossed at a celebrity-packed nightclub on the Spanish party isle of Ibiza.

Sources told The Post that Bloom flew into a rage when Bieber taunted him by saying “She was good” — a clear reference to his mysterious hook-up with Kerr at the 2012 modeling show.

Just how far the teen heartthrob and the lingerie lovely went that night has remained a Victoria’s Secret. The two were only publicly spotted flirting.

But Bloom — who split with Kerr the next year — clearly suspected the worst as he balled his hand into a fist at the club and tried to knock Bieber’s smug block off with a haymaker.

Witnesses differed on whether the epic blow actually struck the 20-year-old singer. But sources said that the actor’s attempt to coldcock Bieber caused the crowd of onlookers to cheer.

Yet after the scuffle, Bieber remained cocky, declaring “Say hi to her” as Bloom walked away, according to some witnesses.

Bieber continued his bravado the next day, as the “Baby” singer shamelessly posted Instagram pictures of himself carelessly lounging bare-chested on a boat.

“Sunburnt and a mustache,” he captioned the image, in an apparent reference to his pubescent scruff of facial hair.

Kerr, meanwhile, was back at work on Wednesday doing what she does best — making love to cameras. She posted an incredibly sexy shot of herself topless in a bathtub and wearing 7fam jeans, which she endorses.

Kerr also shared a brief clip of an upcoming 7fam TV spot, in which she seductively looked over her shoulder, rolled over in bed and said: “I love them, I love them.”

The stunner also posted a picture of herself strolling hand-in-hand with Flynn, her 3-year-old son with Bloom.

The mother and son had their backs to the camera. She captioned the shot with a simple heart emoji.

Bloom, meanwhile, managed to stay quiet yesterday and made no public comments about the incident.

1 of 15
Victoria's Secret Angel Miranda Kerr walks the runway during the Victoria's Secret 2012 Fashion Show on November 7, 2012 in New York City.
Kerr walks the runway during the Victoria's Secret 2012 Fashion Show on Nov. 7, 2012, in New York City. Getty
Miranda Kerr at the 2014 InStyle And Warner Bros. 71st Annual Golden Globe Awards Post-Party on January 12 in Beverly Hills, California.
Kerr at the 2014 InStyle And Warner Bros. 71st Annual Golden Globe Awards Post-Party on Jan. 12 in Beverly HillsWireImage
Advertisement
Kerr poses on the runway during the 2012 Victoria's Secret Fashion Show on Nov. 7, 2012, in New York.AP
Miranda Kerr attends the 2014 Vanity Fair Oscar Party on March 2 in West Hollywood, California.
And a view from the back!WireImage
Miranda Kerr poses in Sydney, Australia on May 20.
Kerr poses in Sydney, Australia, on May 20.WireImage
Advertisement
Miranda Kerr poses before the Victoria's Secret Fashion Show at Fontainebleau Miami Beach on November 14, 2008 in Miami Beach, Florida.
Kerr poses before the Victoria's Secret Fashion Show at Fontainebleau Miami Beach on Nov. 14, 2008.FilmMagic
Miranda Kerr in Munich, Germany, on July 29StarTraks
Kerr leaves her apartment in New York City on July 7. Zuma
Advertisement
Kerr in New York City on July 21, 2014
Kerr in New York City on July 21, 2014Splash News
Miranda Kerr prepares backstage at the 2012 Victoria's Secret Fashion Show on November 7, 2012 in New York City.
Kerr prepares backstage at the 2012 Victoria's Secret Fashion Show on Nov. 7, 2012, in New York City.Getty
Kerr attends Samsung Galaxy features arrivals at the official Victoria's Secret fashion show afterparty on Nov. 7, 2012, in New York City.Getty
Advertisement

Additional reporting by Mara Siegler