They will know as it’s linked. I once got asked why I didn’t mention going to Qatar at the US border once, I didn’t because I only transited so technically never entered the country but it was on an old passport and they must have seen the flight data