Both events happened to Judas. After hanging himself, his dead body must have fallen (perhaps due to the rope or branch breaking).