IMessage settings on an iPhone and iOS or iPadOS devices, like an iPad, might be configured to send and receive messages from your Apple ID rather than your phone number. Go to Settings > Messages, and tap Send & Receive to see if your phone number is set up to send and receive messages.