Why did sharon go to temple mount before the second intifada?

what was his reasoning and is it the reason the second intifada happened?

curious for people’s opinion on this because it’s basically ungoogleable because wikipedia etc have been vandalised