As picture shows, why bash insert such weird token '\' into my script when I use single quotes inside double quotes?

code sample:
set +vx
cmd="echo 'hello this is a test'"
As picture shows, why bash insert such weird token '\' into my script when I use single quotes inside double quotes?

code sample:
set +vx
cmd="echo 'hello this is a test'"
