Real World AI Bayes Rule Rain on Cloudy example

I am still scratching my head on this one.

My question is, what is the probability we are calculating?

Is it (1) What is the chance that a rainy day will start off with clouds? Or (2) What is the chance that if there are clouds in the morning, it will rain on that day.

Are these different? If so, surely (2) is 90% and (1) is given by the Bayes formula. If this is incorrect, what am I missing? Any ideas?