Question: how to not connect iphone to ipad?
Answer: On your iPad/iPhone, go to Settings app → Tap on your name and picture shown on the top (Apple ID, iCloud, iTunes & App Store) → iCloud and under Apps Using iCloud section, turn-off the switch in front of all the apps for which you do not wish to sync data.