There are some clips that hold the quarter window trim. The trim can be removed by sliding it forward. The clips are easy to break and can be replaced only if you have some new ones and if the quarter window glass is removed, so be careful with that trim. I think the water was coming in around the clips. There might be little rectangular gaskets under the clips that are supposed to seal out water. They now crumble easily. Some rust also starts around those clips.

I'm thinking of using FlexSeal spray to seal the clips. I would need to avoid gumming things up so the trim can still be installed and removed. I might try brushing it on.
I sprayed some Boeshield T-9 inside the space where the water was dripping, just in case it might help. I'd like to keep the panels in the front of the rear wheel well from rusting out.