How could Lee know that, considering on April 18 Lincoln hadn't invaded anything?
On April the 15th Lincoln called for 75,000 volunteers to put down the rebellion among Southern States. I suspect Colonel Lee surmised,from this action, that President Lincoln intended to attack those states that had seceded.