All automobiles (including Subaru vehicles) are filled with dozens of multi-terminal connectors. They can be the source of intermittent and/or hard to diagnose electrical problems.
Joe Vehicle Owner would buy a can of his favorite brand of spray carburetor cleaner, remove the air cleaner, spray the heck out of anything that looked like it had anything to do with carburetion, start the engine, then finish the treatment by spraying the remainder of the can down the carburetor throat while attempting to keep the engine running.