Certain medications like minocycline and isotretinoin can cause pseudotumor cerebri, leading to severe headaches and vision changes. Early detection is critical to prevent permanent vision loss.