Question: why uss liberty was attacked?
Answer: According to John Loftus and Mark Aarons in their book, The Secret War Against the Jews, Liberty was attacked because the Israelis knew that the ship's mission was to monitor radio signals from Israeli troops and pass troop movement information to the Egyptians.