Most people forget that at the time Kennedy was shot Goldwater was leading him in all the polls. Kennedy went to Texas to try and swing the state back into his column.
Texas Democrats hated Kennedy. Back then they were more conservative than Rockefeller Republicans.