The range of distances where everything is in focus is called depth of field. Phone cameras usually have pretty good depth of field but often fake a shallower depth of field in software in "portrait" modes. So check your settings. Or try standing further away from the camera.