When you first create ads/keywords if there's limited historical data for Google to use to determine your QS they essentially "guess" what your initial QS will be. After data starts accumulating your QS is updated to reflect your ads performance - hence the change in QS.