You're not allowing for distance. If you stand fairly close to a street lamp that is 40 feet above ground level, you may observe that the lamp has an elevation of, say, 80 degrees. If you look at another lamp 100 yards away that is, say, 45 feet above ground level, you may observe its elevation to be only 7 degrees. From your observation position, the more distant lamp, although higher, has a lower elevation angle. If, however, you raised your eye level to 40 feet, the same height as the nearby lamp, the distant lamp would have an elevation of 1 degree, confirming its greater height above ground level than the nearby lamp's. In that analogy, the moon corresponds to the nearby lamp, and the sun corresponds to the distant lamp. In the case of your photograph, the moon's elevation was about 19 degrees, and the sun's about 1.5 degrees, both as seen from your camera's position. The more distant sun can shine slightly "down" on the moon, so that your green arrow, showing the sun's direction, should point slightly "upwards" (overlapping your red line) rather than slightly "downwards".