If something such as an idea
or fact ties in with
or ties up with
something else, it is consistent
with it or connected with it.
Our wedding had to tie in with David leaving the army.
I've got a feeling that the death may be tied up with his visit in some way.
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers