Is it harder to ride a comfort bike on a paved trail than a hybrid? If I am on a "normal" paved by trail, hills, and straights, not mountains, sunny weather, and I have two bikes, a comfort bike and a hybrid. Is one harder to ride than the other?  The distance will be about 10 miles, paved, mostly flat trail.

One reason I ask is that if two people ride together and one is on a comfort, the other on a hybrid, if the comfort is hard to pedal, ride, etc., I would never be able to stay together (I would have the hybrid.)

For the sake of argument, both are higher quality bikes, not big box.  Is there some reason a comfort bike is inherently harder to pedal?

This is an example of what I saw:

https://www.performancebike.com/shop/bikes-frames/path-pavement-bikes/comfort-bikes/tuesday-bikes-march-7-womens-pavement-bike-31-7312

and,

https://www.performancebike.com/shop/bikes-frames/path-pavement-bikes/comfort-bikes

"Beach Cruiser" was also a term used.
'Comfort' and 'hybrid' are not particually specific terms. Let's assume:

Comfort bike means a bike with an upright riding position - the rider's back is nearly vertical. Handlebars are high and relatively close to the rider.

Hybrid means a cross between a road and mountain bike rider's back 45-30 degrees from vertical. Bars far enough forward so that riders arms are nearly straight.

(Almost) all other things equal: wheel diameter, mass, tire width and pressure, the more upright riding position of the comfort bike makes it harder for the rider to apply power to the crank, hence it will be harder to ride at the same pace as the hybrid. The comfort bike will likely have a lower gear ratio range to accommodate the lower possible power.