Your iPhone may not ring if it's set to Silent, having custom ringtone issues, or is in Do Not Disturb or Focus mode.