Some people become confused with this because they know that both are used to send and transmit data online. TCP is the one that is responsible for delivering the data packet. The IP is responsible for the address where the data packet will be sent. IP will be in charge of trying to get the address.
The address should be correct; otherwise, it can be an issue in the long run. If in case one of them does not work, it will not be possible for data to be sent to the recipient. Some models will not work if the two are not matched together.