He was the President of US who wanted equality for everyone....and he went to Texas. The probability of an assassination at that time was far too great.
The way the nation mourned really showed how much the world was changing. I am sure who planned it didn't expect the magnitude of what JFK accomplished for a nation with the majority of whites to shake the very core of the nation.