Both. Just a whole scope of problem that can be eliminated by not getting a device with a cellular modem. Plus a lot of iOS devices have strange interactions with iPhones without phone numbers (imessage and signal for two specific examples).
This is the worst thing about Signal, IMO. I want to use old phones as backup communication devices (wifi) but can't natively use the software that way.