Not entirely true, in 905MAL, the prison section is off the main route to the core, so if you're saving your friends you need to do more running around. I know, long time ago, but I just noticed it now.
Actually no. You guys have to realize that this isn't just a random standalone scene that happens to happen on Malachor, but a conclusion to the story between Hand/Atton and Visas/Disciple, which began when the latter first joined the crew (remember Handmaiden expressing her disapproval of keeping Visas on board right after the medbay scene). And Atton/Handmaiden decided what they wanted to do when they swore loyalty to Kreia, and then left with her for Malachor. Sure, Malachor's dark energies may have caused Atton/Handmaiden to fall further down the path, but they are definitely not the main reason for the fight, not even close.
Another thing, Visas and Disciple aren't jealous, only Handmaiden and Atton are, and they aren't sitting in any cell if Kreia took them to Malachor.