It's hard to say exactly. Maybe it was part of a larger plan or a spur-of-the-moment decision based on circumstances. Could be that Marvin had crossed them in some way before.
Maybe they needed him for some specific purpose related to their criminal activities. Could be for leverage or to use him as a hostage.