you get respiratory acidosis when CO2 accumulates in your blood due to various causes, but think always in something that prevents air from exiting the lung, such as hypoventilation or obstruction
well, in pulmonary embolism you don't have any problem with air circulation, you have problems with perfusion of the lung. If you can't perfuse your lung well you'll get hypoxia and hypercapnia and it leads to hyperventilation which leads to hypocapnia which leads to alkalosis.
sorry if I wasn't clear enough lol