My guess would be he tipped off Dumbledore about Voldemort coming after the Potters due to the snipet of prophecy he learned. Snape could have been motivated in part by the life debt owed James. He could also have feared what an invincible Voldy would mean for his personal fortunes.