Hi all,
what is the grammar rule for the ' be+ verb + ing' like this?his
why using ing form of verb?
why use be ?

We don't think these photographs are appropriate for Jack to be sharing
with his classmates.

Thanks.