Both images are made with a flash. The first has only the back flash firing, creating a fake sunlight effect. The second has two flashes firing - from behind and from the front for a moody night look.
Cameras:
Questions about photography are welcome! Upvote, comment, repost and follow if you like! Have a great day!