The Monroe Doctrine is over 200 years old and simple enough for your average dictator to understand. Don't expect the US to turn a blind eye to investments in key strategic assets of your country by its strategic rivals.
I don't think it's a coincidence that a special envoy of Xi met Maduro hours before being captured. It was probably the final straw.