Pseudobulbar affect (PBA) is a neurological condition that causes outbursts of uncontrolled or inappropriate laughing or crying. It is also known by other names including emotional lability, pathological laughing and crying, involuntary emotional expression disorder, compulsive laughing or weeping, or emotional incontinence.
https://my.clevelandclinic.org/health/diseases/17928-pseudobulbar-affect-pba