In the resorts like Sharm El Sheik, Hurghada, Sinai, etc. -- shorts are fine and it is very open and flexible. This also applies to ladies for the beach areas, but going into the market area in Hurghada, for example you may be more comfortable in trousers.