how to code ultrasonic with a distance less than 14 but greater than 10?
if(ultraSonic <= 14 && ultraSonic >=10) { ... }
is this how you are supposed to do it?

no. that's not a valid statement
if (10 <= distance && distance <= 14)

is this normal? or something is wrong with my sensor or code?
Normal if every other call to pulseIn() is timing out. Strange that the timeout seems to happen in about 0.780 seconds when the default timeout value is 1 second.
I bet it's the code you hae not posted.