Takeovers wouldn't cause the stock market to rise unless there is an upward reassessment of earnings (potential). People are more optimistic and confident about the future.
"Raiding Can Be Seen As Wake-Up Call For Corporate America". The Seattle Times, August 16, 1987.