The latest version of Revit 2023 has a new feature shown below. The issue is that when you try to place fittings, valves, couplings that have the same connector on both sides it can not decide what to use and will not attach them.
The parts will still cut in just fine but you will not be able to add them on at the end of a run
And yes I am aware that "Insert Part" is now the new default and that is not the problem