The first one was a tragic accident, but it is hard to blame it on the Russian defense.
The airplane entered heavy militarized Soviet airspace at a time of intense exercises that was known to be off limits by KAL, the soviets tried to contact and warn the airplane multiple times and intercepted it twice till the airplane was shoot down.
This also came in the context of US spy airplanes flying in the area having already poked and embarrassed Soviet air defense in the same weeks.
The airplane entered heavy militarized Soviet airspace at a time of intense exercises that was known to be off limits by KAL, the soviets tried to contact and warn the airplane multiple times and intercepted it twice till the airplane was shoot down.
This also came in the context of US spy airplanes flying in the area having already poked and embarrassed Soviet air defense in the same weeks.