What does that electrical connector use as a means of locking? And I was surprised to see that cording was still used as a harness tie! I think when I went to A&P school, nylon tie wraps weren't invented yet!
What a surprise! Connect the two together properly, secure them properly and shocking! It works as designed! In the automotive world, we come across too many electrical terminals that have poor fit due to unscrupulous people using all kinds of makeshift probes or tools, needles, nails, whatever is handy. And then the intermittent problems start. Where connections have a decent fit but still have erratic performance, we use Stabilant 22, a terminal contact enhancer that literally fills the microscopic deviations in the surface of the terminals. Airbag deployment and sensing systems are super critical of any slight changes in resistance and will trigger a warning light and associated codes. Sometimes a drop of this chemical is all the terminals require to return it to service.