It's the skimmer. The whole idea behind a protein skimmer is that it removes the dissolved organics before they become NH4, NO2, or NO3. If you turn the skimmer off, they become NH4 in the tank. The bacteria in the tank haven't caught up to the ammonia spike yet.