"Why" is something I cannot answer; however, the audio buffer (in my case the ASIO buffer) makes a huge difference in latency (delay).
When tracking (recording) I go to Preferences | Drivers | Asio panel and, using the slider, set the value low (like 64 or 128) so there is almost no lag.
When mixing or using Meloldyne, I go back to the same place and set it to 1024.
If you hear crackling or if the audio stops, the buffer is too low. The trick is to make it as low as possible during recording without too much annoying static so you don't have a lag (delay) when recording vocals or MIDI.
During mixing and editing, you want it back at a higher value so the audio is not messed up.
This advice has been shared by me and many others here because this problem is one of the most common in DAW recording. You could have a different issue, but I will bet this is it.
>>You could also have a MIDI buffer issue. I had to INCREASE (not decrease) mine to keep from Sonar from missing notes on playback.
Good luck!
PS If Jim says anything different below, listen to him. He is way smarter technically than me, although I am obviously more beautiful and talented.

Seriously, he's the dude on this stuff.