Flight schedules change rapidly and so does the fare. Over 600,000 changes happen every day. The earlier you book your flight is generally the less expensive fare.
Here are some determining factors:
Day of the week, dates and time, first-class or economy, travel packages, number of transfers, lead-times and number of transfers to name a few.
This is also where groups benefit, not only with special rates but payment options also.