I think maybe it’s both? Too harsh of sentences (in some cases or jurisdictions) might contribute to a general police mindset which “conflates” the legal repercussions of rape with murder. This leads to or reinforces victim-shaming questions like, “do you really want to ruin their life over this?”
The rule of law and law enforcement need to strike a better balance in both directions I think.