Cherophobia is the fear of being too happy because 'something tragic' will happen.

Cherophobia is the fear of being too happy because “something tragic” will happen.

Aversion to happiness, also called fear of happiness, is an attitude towards happiness in which individuals may deliberately avoid experiences that invoke positive emotions or happiness. One of several reasons why fear of happiness may develop is the belief that when one becomes happy, a negative event will soon occur that will taint that happiness, as if punishing that individual for satisfaction.

Source