because of the diaphragm muscle is essential and important for respiration
Skeleton are those muscle which attached to the skeleton it means attached to bone so diaphragm is skeleton muscle due to it attached to the skeleton.
I don't know really, but I think inspiration is an active process so it is skeletal muscle for better control.