A window ac unit can cause mold on a window sill. The most likely culprit is condensation from the ac unit leaking into the window.