The events took place in the same year a few km from each other (Ivangorod is near Velikaya/Bolshaya Sevastyanovka).
I do not fully understand what you are trying to say here.
Do you mean that the two photos show two different events at two different locations close to each other?
Perhaps the group of men shown in the second photo are the same as the men involved in the action shown in the first photo. In that case it is likely that the same person took both photos, and also wrote both inscriptions on them.
But the ground on which the corpses are lying in the second photo appears different from that shown in the first photo, ie it is a large area of light-coloured ground with no sign of the patch of disturbed earth shown on the right hand side of the first photo, adjacent to the group of crouching women and men, and also the shovels are not present.
So either the group of men altered the scene before taking the group photo, or the two photos show different scenes, perhaps occurring on different days in 1942 in neighbouring localities.
So far as I can see, no trail has been provided for the second photo similar to that for the first photo. For example, were both photos found in the same letter intercepted by Polish postal workers in behalf of the Underground? We do not know.