Why did Lee finally decide to surrender during the Civil War?

No option.

He had run out of manpower, and his few remaining troops were barefoot and starving.