To capture clear night photos, you need a larger aperture on the camera lens
A phone camera obviously will have a tiny aperture, so in order to get a photo.
Things like the ISO need to be increased to capture more light. But increasing ISO, increases noise.
When you capture a photo, the software will then try to process the image to increase the quality
You can try going into the Pro mode and adjusting the image yourself and may get a better photo result