Just to add to Nigel J's answer and particularly that it is a regionalism.
The Scottish Government have an Advisory Group on Tackling Sectarianism in Scotland. This, in itself, shows that they feel sectarianism is something to be tackled.
In 2015 they came up with the following "working definition" of sectarianism:
Sectarianism in Scotland is a complex of perceptions, attitudes, beliefs, actions and structures, at personal and communal levels, which originate in religious difference and can involve a negative mixing of religion with politics, sporting allegiance and national identifications. It arises from a distorted expression of identity and belonging. It is expressed in destructive patterns of relating which segregate, exclude, discriminate against or are violent towards a specified religious other, with significant personal and social consequences.
see section 3.9 of the interim report
By 2015 they proposed a new one:
Sectarianism in Scotland is a mixture of perceptions, attitudes, actions, and structures that involves overlooking, excluding, discriminating against or being abusive or violent towards others on the basis of their perceived Christian denominational background. This perception is always mixed with other factors such as, but not confined to, politics, football allegiance and national identity.
see Section 5 of the 2015 report
Without delving into what these mean, it does show that the word "sectarianism" is used in Scotland, especially, in a particular sense, and that even the Scottish government doesn't quite know what. It refers to a culture dependent on people seeing themselves as members of either the Protestant community or the (Roman) Catholic community, and to generations of rivalry, at least, between them.
In Glasgow particularly Rangers is supported by Protestants, and Celtic by Roman Catholics. There are wider loyalties beyond Scotland to other parts of the British Isles, with Rangers fans often waving Union Jacks and Celtic preferring Republic of Ireland flags.
Supporters of Rangers and Celtic have many traditional songs, some of which contain phrases which most people would consider offensive such as "F**k the Pope", or Queen, as the case may be. Others do not contain anything particularly offensive in themselves, but if sung on a train, by a group of young men or teenage boys, for example, may result in a response from another group, and while this may be good-natured, it often isn't, and can end violently. Even if it doesn't, it can be un-nerving to other passengers.
The Scottish Government claim that this law is intended to reduce such happenings, but opposition parties are generally opposed to it and it is under review. While poor relations between Protestants and Catholics, and football violence, or violence at other community events (e.g. Orange Parades involving Protestants), is a problem; the Scottish Government is pro-independence and has been accused of being uncomfortable with loyalties beyond Scotland.
It does not prevent two friends discussing their divergent theological perspectives; and this particular rule does not apply in England, Wales or Ireland. but only in Scotland.