All jams and jellies are made from fruit mixed with sugar, pectin, and acid, but the difference between them comes in the form that the fruit takes in the finished product.
In Jam, the fruit comes in the form of pulp or crushed, so they are naturally less stiff is easier to spread.
In Jelly, the fruit comes in the form of juice, so they are more transparent in color and stiffer than jams.