There may be two reasons:

you have an active "Find My iPhone" feature. It may ask for reactivation via iCloud for any new SIM card inserted, including eSIM.

your iPhone is locked to use with your original supplier, or you have enabled already another provider eSIM on it.

*first reason is easy to solve: go to iCloud and activate it.
Was this article helpful?
Thank you!