Definitely electrical, because its happening on both coil packs start with spark plug wires " check them in the dark if they are grounding you will see the spark jumping. If not than check your coil packs.
P1300 is a mulit spark failure code, P0300 is kind of the same, but can range from spark...