Italics seem to change to underlined after compiling and exporting to another document e.g. PDF or DOCX

Have a look in

File > Compile, All options, then the Transformations section. Under Rich Text Conversions, there’s an option to convert Italics to Underline, which might have been turned on in error.