Apparently the two had a fallout while shooting for Raj Sippy's film AMAANAT way back in 1994, when Sippy wanted to shoot a song on Akshay but Sanjay wanted that song instead. Eventually, it was Sanjay who got the song. Ever since then, Akshay and Sanjay never appeared in a film together and maintained distance all these years.
The two were then chosen for Shree Ashtavinayak's BLUE. During BLUE'S shooting too, they cold-shouldered each other initially until the last day when they decided to finally bury the hatchet. They were very nice to each other and left everyone pleasantly surprised on the sets. The two even expressed the desire about working together in future.
All we can say is, at least one set of warring stars in Bollywood are now friends!