Sanji sneaked attacked Queen in 1015 and 1017. Both times Queen didnt get to see DJ. If Sanji and Queen fought much off-panel, Sanji wouldve brought out DJ and Queen wouldve questioned him then instead in 1023. 1023 quite clearly shows Queen and Sanji havent been fighting much. Whilst 1022 shows that Queen isnt focussing on Sanji at all. All of this leads to Queen leaving Sanji at one point to help defeat Marco, either before Sanji’s first defeat by the Duo or after.