Why was Abraham Lincoln asked to make a speech at Gettysburg?

to outline terms of a peace accord

to defend his decision to declare war on the South

to declare victory following a decisive battle

to commemorate the grounds of a battlefield