The clouds in the night sky are being lit by the rising moon. What appears to be a setting sun is light from a nearby town. When shooting a subject with a solid black or white border, frame the shot at this border edge. Then use Photoshop to extend the black or white side as much as you desire.
Camera and Lens Settings
14mm f/2.8 20s ISO 400 4992 x 3808px