I assume that you wish to load the newtxmath package because it provides some math-mode glyphs that aren't provided by other math font packages.
Page 10 of the user guide of the newtx pair of packages -- type texdoc newtx at a command prompt to bring up this document -- explains how to make use of the newtxtext and/or newtxmath packages under LuaLaTeX and XeLaTeX. An excerpt from the user guide:
As far as I can tell, newtxmath works with both [XeLaTeX and LuaLaTeX], but requires a very specific loading order and choice of options. Briefly, ... the math options must all be loaded prior to loading and using fontspec.
For instance, the following should work for you. Note that the fontspec package, but not the unicode-math package (which loads fontspec automatically, by the way), should be loaded when using newtxmath. In addition, do note that the fontspec package should be loaded with the option no-math.
...
\usepackage[T1]{fontenc}
\usepackage{newtxmath}
\usepackage[no-math]{fontspec}
% load a suitable text font
...
Alternatively -- a thought already pointed out in egreg's answer -- keep loading the unicode-math package but ditch the newtxmath package. Instead, look into using a Times Roman-clone math font such as Stix Two Math (which may be downloaded, along with Stix Two Text, from http://stixfonts.org/.
Here's a full MWE (minimum working example):
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{newtxmath}
\usepackage[no-math]{fontspec}
\usepackage{newtxtext}
\begin{document}
$abc$def\emph{ghi}
\end{document}
newtxmathandunicode-math. – egreg Aug 30 '18 at 21:15