crashes in general happen when your ram runs out, when there too much stuff to load and theres no ram space left, soo maybe try to allocate more ram in your mc launcher, or maybe try to load less stuff when going to pvp, try to lower the redner distance and if it doesnt help then try hard reseting the pc and setting up everything again because it could be just some viruses or driver errors. honestly could be a lot of stuff