The correct option to fill in the blank is "towards."
So, the complete sentence would read:
"However, had it been a real sound, the sound's pitch would have been increased by the Doppler Effect, since the Falcon was moving towards the source of the sound."
This is because when an object moves towards a sound source, the sound waves are compressed, resulting in an increase in pitch.