A line of foundation along the inside of a collar is annoying, expensive in dry cleaning and completely avoidable. It is also a useful diagnostic, because it tells you something specific: there is unset product sitting on a part of your face that rubs against fabric.
Three things make transfer worse, and the first is the big one. Most transfer comes from foundation applied to the jaw and neck, which is where almost nobody needs it. The center of the face carries the redness and unevenness; the jawline and neck are generally even-toned already. Product there is doing no visible work and is positioned exactly where a collar, a scarf or a phone will collect it.
Second, hydrating and dewy formulas never fully set. That is their virtue on mature skin — a flexible film that stays soft does not crack along a line — and it is also why they transfer. You are trading one problem for another, and the trade is usually worth it; the fix is to set the two or three areas that rub, not to switch to a longwear matte that will crease.
Third, quantity again. A thick film takes longer to set, sets less completely and has more material available to come off. This is the same root cause as cakiness and as smile-line creasing, which is why the same instruction keeps appearing on this site: use less.
One mature-skin specific point. Drier skin absorbs less of what you put on it, so more of the base stays on the surface available to transfer. And a neck with crepey texture holds product in the folds, which then prints onto fabric in exactly that pattern. Both argue for keeping base off the neck entirely rather than for setting it harder.
A film-forming finishing step helps with transfer specifically, which is one of the few things it genuinely does — best setting spray for mature skin covers which formulas hold without drying the skin down.